<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>技术文章</title>
<meta name="keywords" content="个人博客" />
<meta name="description" content="" />
<link rel="stylesheet" href="css/index.css"/>
<link rel="stylesheet" href="css/style.css"/>
<script type="text/javascript" src="js/jquery1.42.min.js"></script>
<script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
</head>

<body>
    <!--header start-->
    <div id="header">
		<br>	
		<h1 style="display:inline">WYZ的博客主页</h1>		
			<?php 
				session_start();
				if (isset($_COOKIE['usrname'])) {
					# 若记住了用户信息,则直接传给Session
					$_SESSION['usrname'] = $_COOKIE['usrname'];
					$_SESSION['islogin'] = 1;
				}
				if (isset($_SESSION['islogin'])) {
					//已经登录			
					echo "&nbsp;&nbsp;";
          echo "当前用户为:<a href='content_rw.php?id=".$_SESSION['usrname']." '>".$_SESSION['usrname']."</a>";
					echo "&nbsp;/&nbsp;";
					echo "<a href='logout.php'>注销</a>";
				} 
				else {
					echo "&nbsp;&nbsp;";		
					echo "<a href='signin.php'>注册</a>";
					echo "&nbsp;/&nbsp;";
					echo "<a href='login.php'>登录</a>";			
				}
        echo "&nbsp;&nbsp;";    
        echo "<a href='all_usr.php'>所有用户</a>"
			?>

		</div>
    <!--header end-->

      <div id="nav">
        <ul>
            <li>
                <a href="index.php">首页</a>
            </li>
            <li>
                <a href="about.php">关于站长</a>
            </li>
            <li>
                <a href="reference.php">技术文章</a>
            </li>

            <li>
                <a href="journal.php">个人日记</a>
            </li>

            <li>
                <a href="contact.php">联系站长</a>
            </li>
            <div class="clear"></div>
        </ul>
    </div>
    

    <!--content start-->
    <div id="say">
            <div class="weizi">
                <div class="wz_text">当前位置：<a href="index.php">首页</a> > <h1>技术文章</h1></div>
           </div>
           <!-- 文章 -->
          <ul class="say_box">
                     <div class="sy">
                         <p> 
                         	<a href="essay/windows-cmd.php" target="_blank">WINDOWS-CMD</a>  	
                         </p>
                     </div>
                  <span class="dateview">2019-4-1</span>
          </ul>
          <!-- 文章结束 -->

     </div>
    <!--content end-->

	<!--footer start-->
		<div id="footer">
			<p>&reg; WYZ 2019-4-1</p>
			<p>友情链接：
				<a href="http://www.w3school.com.cn/" target="_blank">W3School</a>&nbsp;&nbsp;
				<a href="https://www.nowcoder.com/" target="_blank">牛客网</a>&nbsp;&nbsp;
				<a href="https://www.csdn.net/" target="_blank">CSDN</a>&nbsp;&nbsp;
				<a href="https://www.cnblogs.com/" target="_blank">博客园</a>&nbsp;&nbsp;
				<a href="https://www.oschina.net/" target="_blank">开源中国</a>&nbsp;&nbsp;	
			</p>
		</div>
    <!--footer end-->
    
    <script type="text/javascript">jQuery(".lanmubox").slide({easing:"easeOutBounce",delayTime:400});</script>
    <script  type="text/javascript" src="js/nav.js"></script>
</body>
</html>
